package com.da.springtest.condition.test5;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

@Conditional(MyConfigurationCondition.class)
@Configuration
public class BeanConfig2 {
    @Bean
    public String name() {
        return "Java";
    }
}